package com.fbli.mapper;

import com.fbli.pojo.Consult;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ConsultMapper {
    /**
     * 新增咨询订单
     * @param consult
     */
    int insert(Consult consult);

    int deleteByPrimaryKey(Integer consultId);

    int updateByPrimaryKey(Consult record);

    Consult selectByPrimaryKey(Integer consultId);

    List<Consult> selectAll();

    List<Consult> selectConsult(@Param("keyword")String keyword);


    List<Consult> selectCondition(@Param("consult") Consult consult);
}
